# 种南瓜
# 每四列循环检测，全部没问题再种下四列，地块宽度不是四的倍数可能会出问题，可以把col从4改成2或者1，能整除就行
import common
common.move_abs(0,0)
col = 4
while True:
	for i in range(col):
		is_over = False
		while not is_over:
			is_over = True
			for j in range(col):
				for k in range(get_world_size()):
					if get_ground_type() != Grounds.Soil:
						till()
					if not can_harvest():
						plant(Entities.Pumpkin)
						is_over = False
					move(North)
				move(East)
			if not is_over:
				for j in range(col):
					move(West)
	harvest()